<%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%>
<!--#include file="../App_Code/Manage.asp"-->
<!--#include file="../App_Package/UploadClass.asp"-->
<%
	Manage.Login.chkLoginpage();
	
	if(Request.ServerVariables("REQUEST_METHOD")=="POST")
	{
		//print(Config.Function.ReadConnectionstring(Const.RelativePath.ManagePath))
		try
		{
			var con=Manage.Function.CreateDefaultConnection(Const.RelativePath.ManagePath);
			con.open();
				
			con.close(),con=null;
		}
		catch(e)
		{
			if(Configuration.web.debug==true)
				println(e.description)
			else
				goPath("../../Error.asp");
		}		
		end();
	}
	

	//var ufo=new UploadClass();
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理登录</title>
<link id="theme" rel="stylesheet" type="text/css" href="skins/theme/default/login.css" />
<script type="text/javascript" language="javascript" src="skins/jquery.js"></script>
<script type="text/javascript" language="javascript">
<!--
		window.onload=function()
		{
			  window.setTimeout(function(){$("body").fadeIn(300);},400);			  
			  window.setTimeout(function(){$("#loginPaniel").fadeIn(300);},1000);
		}
		function chkform(form)
		{
			if(form.userid.value==''){
				alert('请输入用户名');
				form.userid.focus();
				return false;
			}
			
			if(form.password.value==''){
				alert('请输入管理密码');
				form.password.focus();
				return false;
			}						
		}
			
-->
</script>
</head>

<body style="display:none;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
            <td height="28" class="头部标题栏"><span class="指示箭头">&larr;</span> <a href="http:/www.baidu.com">Back to www.baidu.com</a> - 为您提供服务</td>
      </tr>
</table>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<form action="login.asp" method="post" name="form1" target="_self" id="form1" OnSubmit="return chkform(this);">
	<table width="300" border="0" align="center" cellpadding="15" cellspacing="0" class="登录框容器" id="loginPaniel" style="display:none;">
            <tr>
                  <td colspan="2">请输入用户名<br>
                        <input name="userid" type="text" class="登录框" id="userid" maxlength="20" /></td>
            </tr>
            <tr>
                  <td colspan="2">管理密码<br>
                        <input name="password" type="password" class="登录框" id="password" maxlength="20" /></td>
            </tr>
            <tr>
                  <td width="157" align="left"><input type="checkbox" name="iscookie" id="iscookie" value="true"/>
            
                      下次记住我
                  </td>
                  <td width="97" align="right"><input name="button" type="submit" class="登录按钮" id="login" value="登录管理"/></td>
            </tr>
      </table>
</form>
</body>
</html>